﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

    /// <summary>
    /// Clase que contiene constantes y metodos de ayuda o informacion que solo se utilizan en
    /// la pagina web mobil
    /// </summary>
public static partial class WebMobilConstant
{
    public const string PRECIOMENOR = "precioMenor";
    public const string PRECIOMAYOR = "precioMayor";
    public const string FORMATPRICE = "formatPrice";
    public const string STEP = "step";
    public const string HOSTSMTP = "hostSmtp";
    public const string PUERTOSMTP = "puertoSmtp";
    public const string EMAILADMIN = "correoAdmin";
    public const string USERNAMEEMAILADMIN = "userAdmin";
    public const string PASSWORDEMAILADMIN = "passwordAdmin";
    public const string EMAILCLIENT = "email";

    public static string ObtenerPrecioMenor()
    {
        return ConfigurationManager.AppSettings[PRECIOMENOR];
    }
    public static string ObtenerPrecioMayor()
    {
        return ConfigurationManager.AppSettings[PRECIOMAYOR];
    }
    public static string ObtenerStep()
    {
        return ConfigurationManager.AppSettings[STEP];
    }
}

